body > * { z-index: 1}

		/* main start */
h2 { display: none; }
body { background-color: #f7f6f6; 	overflow-x: hidden; overflow-y: auto; }

#home {
	z-index: 2;
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
}

/* all div */
.mainForm {
	margin: 0 auto;
	width: 1024px;
}
.mainHome { background-color: white; box-shadow: 1px 1px 1px lightgray; }


/* content's div */
.profile { 
	background-color: #2E2E2E;
	height: 300px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-shadow: 1px 0 1px lightgray;
	display: none;
}
#photoFlip{
	margin: 0 auto;
	position: absolute;
	height: 300px;
	width: 1024px;
}
#photoFlip div{
	float: left;
	border-left: .5px solid white;
	display: none;
}
#photoFlip div[data-num='1']{
	height: 300px;
	width: 424px;
}
#photoFlip div[data-num='2']{
	height: 150px;
	width: 150px;
}
#photoFlip div[data-num='3']{
	height: 150px;
	width: 150px;
	margin-top: 150px;
	margin-left: -150px;
}

.profile2 { 
	background-color: #FCFCFC;
	height: 98px;
	box-shadow: 1px 2px 1px lightgray; 
}
.profile2 .namespace {
	position: absolute;
	margin-left: 230px;
	margin-top: 20px;
}
.profile2 .name {
	font-size: 12pt;
	font-weight: bold;
}
.profile2 .message {
	font-size: 10pt;
}

.myPhoto {
	background-color: white;
	height: 140px;
	width: 140px;
	margin-top: 180px;
	position: absolute;
	margin-left: 45px;
	text-align: center;
	overflow: hidden;
	border: 10px solid white;
	display: none;
}
#profileButton {
	height: 30px;
	width: 160px;
	margin-top: 320px;
	margin-left: 45px;
	border-radius: 2px;
	position: absolute;
	border: 0;
	background-color: #FF5459;
	font-size: 10pt;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

button.requestButton {
	height: 30px;
	width: 160px;
	margin-top: 320px;
	margin-left: 45px;
	position: absolute;
	background-color: white;
	border: 1px solid lightgray;
	border-radius: 2px;
	color: gray;
	font-weight: bold;
	font-size: 10pt;
	cursor: pointer;
}

button.done {
	background-color: red;
	color: white;
	border: 0;
}

button.recieve {
	background-color: #0066FF;
	color: white;
	border: 0;
}

button.weAreFriends {
	background-color: #5CD65C;
	color: white;
	border: 0;
}

#radio {
	position: absolute;
	margin-top: 20px;
	margin-left: 800px;
	height: 60px;
	width: 192px;
	text-align: center;
	font-size: 9pt;
}
#radio div.radio1 {
	width: 33%;
	float: left;
}
#radio div.radio2 {
	width: 34%;
	float: left;
}
#radio div.radio3 {
	width: 33%;
	float: left;
}
span.nickname{
	font-size: 11pt;
	color: gray;
}

/* hasNoBaby's div */
.hasNoBaby{
	margin: 0 auto;
	width: 98%;
	height: 310px;
	background-color: #f7f6f6;
	border: 1px dashed lightgray;
	text-align: center;
}
i.fa-plus-square-o{
	font-size: 50pt;
	color: gray;
}
span.firstBabyBook{
	font-size: 10pt;
	color: gray;
}
div.firstBabyBook, div.otherUserAccess {
	margin: 0 auto;
	margin-top: 100px;
	width: 70px;
}
div.firstBabyBook { cursor: pointer; }

/* graph's div' */
.tabAndCalendar{
	margin: 0 auto;
	width: 98%;
	height: 310px;
}
#tabs {
	width: 66%;
	height: 300px;
	float: left;
}
#loading{
	position: absolute;
	height: 250px;
	width: 660px;
	z-index: 3;
	margin-top: 55px; margin-left: 5px;
	background-color: white;
}
#loading img{
	position: absolute;
	margin-top: 110px; margin-left: 320px;
}
#calendar {
	position: absolute;
	margin-left: 675px;
	margin-top: 10px;
	width: 330px;
	height: 280px;
	float: left;
}
#calendar .hb-current-month{
	font-size: 25pt;
}
#calendar .hb-months {
	width: 300px;
	margin: 0 auto;
}
.graphAll {
	opacity: .8;
	text-align: center;
	background-color: #f7f6f6;
}
div.babybookGraph {
	z-index: 10;
	margin-left: -10px;
	margin-top: -10px;
	float: left;
	
	height: 200px;
	width: 300px;
}
div.growingGraph {
	z-index: 10;
	margin-left: 300px;
	margin-top: -220px;
	clear: both;
	background-color:#fff;
	float: left;
	
	width: 320px;
    height: 200px;
}
.graphAll .babybook{
	width: 50%;
	float: left;
}
.graphAll .growing {
	width: 50%;
	float: left;
}

div.addBabyMore {
	position: absolute;
	margin-top: 15px;
	margin-left: 630px;
	cursor: pointer;
}
div.addBabyMore i {
	font-size: 25pt;
	color: #FF5459;
}

#breakingnews {
	margin: 0 auto;
}

/* no photo */
.noPhoto, div.not_friend {
	margin: 0 auto;
	width: 98%;
	height: 310px;
	background-color: #f7f6f6;
	border: 1px dashed lightgray;
	text-align: center;
}
i.fa-camera-retro{
	font-size: 50pt;
	color: gray;
}
span.firstPhoto, span.not_friend{
	font-size: 10pt;
	color: gray;
}
div.firstPhoto{
	margin: 0 auto;
	margin-top: 100px;
	width: 80px;
	cursor: pointer;
}

/* photo zone */
#photoZone {
	width: 1024px;
	overflow: hidden;
	margin: 0 auto;
}
#photoZone ul { overflow: auto; list-style-type: none; width: 100%; }
#photoZone li { float:left; display: inline; padding-right: 15px;}
#photoZone .imageWindow {
	width: 180px;
	height: 210px;
	text-align: center;
	border: 1px solid white;
}
.photoSumnail {
	width: 150px;
	height: 150px;
	overflow: hidden;
	margin-top: 20px;
	margin-left: 10px;
	border: 1px solid lightgray;
	box-shadow: 1px 1px 1px lightgray;
}
.newPhotoSumnail {
	width: 170px;
	height: 200px;
	margin-top: 0;
	margin-left: 0;
	opacity: .9;
}
#photoZone img {
	z-index: 5;
	max-width: 140px;
	max-height: 140px;
}
.imagePosition {
	margin-top: 5px;
	margin-left: 1px;
}
.newImagePosition {
	margin-top: 25px;
	margin-left: 1px;
}
span.date {
	font-size: 10pt;
	font-weight: bold;
	display: none;
	color: white;
	background-color: rgba(0,0,0,0.5);
	margin-top: -5px;
	padding-bottom: 10px;
}
span.etc {
	font-size: 10pt;
	font-weight: bold;
	display: none;
	color: white;
	background-color: rgba(0,0,0,0.5);
	margin-top: 130px;
	padding-top: 10px;
	padding-bottom: 10px;
}
hr.photoLine {
	height: 1px;
	width: 90%;
	border-bottom: 0;
	color: #666;
	background-color: #aaa;
	text-shadow: 0px -1px 0px rgba(0,0,0,.1);
}

#loadMore {
	background-color: white;
	width: 1023px;
	height: 40px;
	border: 1px solid lightgray;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	color: #4775FF;
	font-weight: bold;
}
#loadMore img {
	display: none;
	position: absolute;
	margin-left: 500px;
}
		/* main end */
		
		/* footer */
#footer{
	margin: 0 auto;
	word-spacing: 10px;
	color: #FF5459;
	font-size: 9pt;
	width: 1030px;
	background-color: #f7f6f6;
	height: 20px;
	text-align: center;
	padding-top: 80px;
	
	margin-top: 10px;
}


/* ==================== add after */
#photoViewMain {
	width: 1024px;
	height: 600px;
	position: fixed;
	z-index: 1500;
	visibility: hidden;
}
.background {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 6;
	background-color: rgba(0,0,0,0.5)
}

div.photoView{
	height: 600px;
	width: 600px;
	background-color: black;
	float: left;
}
div.photoView .dis { display: none; }
div.photoView:hover .dis { display: block; }
div.photoViewFrame {
	position: absolute;
	height: 600px;
	width: 600px;
	margin-top: 0;
	margin-left: 0;
}
div.photoViewFrame img{
	max-height: 600px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	background-color: red;
}
div.photoNavi {
	position: relative;
	width: 600px;
	height: 65px;
	margin-top: 270px;
	z-index: 5;
}

div.photoNavi .photoPrev {
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	margin-left: 0px;
	width: 50px; height: 65px;
	color: lightgray;
	font-size: 40pt;
	text-align: center;
	padding-top: 15px;
}
div.photoNavi .photoNext {
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	margin-left: 550px;
	width: 50px; height: 65px;
	color: lightgray;
	font-size: 40pt;
	text-align: center;
	padding-top: 15px;
}
div.photoComment {
	background-color: white;
	width: 424px;
	height: 600px;
	float: left;
}
div.photoCommentList{
	position: relative;
	width: 424px;
	height: 550px;
	overflow-x: hidden;
    overflow-y: auto;
    z-index: 10;
}
div.commentListFrame {
	margin: 0 auto;
	margin-top: 20px;
	width: 373px;
}
div.writer { height: 50px; }
div.writer .writerPhoto{
	float: left;
	height: 50px; width: 50px;
}
div.writer .writerPhoto img {
	max-height: 50px;
	max-width: 50px;
}

div.writer .writerInfo {
	float: left;
	padding-top: 10px;
	padding-left: 10px;
}

div.writer .writerInfo .writerName{
	font-size: 10pt; color: black; font-weight: bold;
}
div.writer .writerInfo .writerInputdate {
	font-size: 9pt; color: gray; font-weight: bold;
}
div.photoContent {
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 11pt;
}
div.contentLike, div.contentLoad, div.oneComment {
	height: 20px;
	background-color: #FFD4E2;
	border-top: 1px solid white;
}
div.contentLike, div.contentLoad {
	font-size: 9pt;
	padding-left: 10px;
	padding-top: 3px;
	padding-right: 10px;
}
div.contentLike a, div.contentLoad {
	color: navy;
}
div.oneComment { min-height: 40px; }
div.userProfile {
	float: left;
	width: 40px;
	min-height: 40px;
}
div.userPhoto {
	position: absolute;
	margin-top: 3px;
	margin-left: 3px;
	width: 34px; height: 34px;	
}
div.userPhoto img { max-height: 34px; max-width: 34px; }
div.commentContent {
	float: left;
	width: 323px;
	min-height: 30px;
	padding: 5px 5px 5px 5px;
	font-size: 10.5pt;
}
div.commentContent .userName {
	color: navy;
	font-weight: bold;
}
div.commentContent .userInputdate{
	font-size: 8pt;
	color: gray;
}



div.photoComment .addComment {
	float: left;
	height: 49px;
	width: 424px;
	z-index: 11;
	border-top: 1px solid lightgray;
}
div.photoComment .commentPhotoFrame{
	float: left;
	height: 50px; width: 50px;
}
div.photoComment .commentPhoto {
	position: absolute;
	margin-top: 8px;
	margin-left: 8px;
	width: 34px; height: 34px;
}
div.photoComment .commentPhoto img {
	max-height: 34px;
	max-width: 34px;
}
div.photoComment .commentInput{
	float: left;
	width: 373px; height: 42px;
	padding-top: 8px;
}
.commentInput input[type="text"]{
	width: 290px;
	height: 30px;
	padding-left: 5px;
	padding-right: 5px;
}
.commentInput button{
	height: 35px;
	width: 50px;
	border: 0;
	background-color: #FF5459;
	color: white;
}


div.radio1 div.insertPhotoFrame{
	background-color: white;
	width: 300px;
	height: 300px;
	position: absolute;
	display: none;
	border: 1px solid lightgray;
	box-shadow: 0px 2px 0px 0px rgba(255,148,152,1);
	margin-top: 70px; margin-left: -125px;
	z-index: 12;
}
div.radio1 div.insertPhoto, div.radio2 div.myFriend, div.radio3 div.chart {
	position: relative;
	background-color: white;
	height: 40px;
	width: 40px;
	border-radius: 25px;
	margin: 0 auto;
	
	cursor: pointer;
}
div.radio1 .insertPhoto{ border: 10px solid #FF5455; }
div.radio2 .myFriend{ border: 10px solid #1975FF; }
div.radio3 .chart{ border: 10px solid #99FF33; }

div.insertPhoto i, div.myFriend i, div.chart i {
	font-size: 20pt;
	margin-top: 7px;
	color: gray;
}
div.photoMenu {
	font-size: 10pt;
}

#form1 div.profilePhotoFrame{
	position: relative;
	width: 50px; height: 50px;
	margin-top: 15px; margin-left: 15px;
	border: 1px solid lightgray;
	float: left;
}
#form1 div.profilePhotoFrame img{
	max-height: 50px;
	max-width: 50px;
}
textarea.textarea{
	position: relative;
	margin-top: 10px; margin-left: 0;
	height: 150px; width: 270px;
	resize: none;
	border: 1px solid lightgray;
	border-radius: 5px;
	font-size: 12pt;
	padding: 5px 5px 5px 5px;
}
#form1 input[type=submit] {
	position: relative;
	margin-top: -55px; margin-left: 200px;
	width: 80px; height: 50px;
	float: left;
}
#form1 div.typeWord {
	position: relative;
	margin-top: 10px; margin-left: 10px;
	height: 60px; width: 110px;
	float: left;
	font-size: 11pt; color: black;
}
#form1 div.typeWord span {
	position: absolute;
	margin-top: 20px; margin-left: -50px;
	width: 110px;
	text-align: center;
}
div.ns-box, div.ns-box-inner { background-color: #FF5459; }
div.ns-box { border: 1px solid white; }
span.ns-close { color: white; }